package com.company.cloud.product.modules.base.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.company.cloud.common.bean.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 1_商品分类表
 * </p>
 *
 * @author anros
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("prd_category_info")
public class CategoryInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司编号
     */
    @ApiModelProperty(value = "公司编号")
    private String companyNo;

    /**
     * 语言分类
     */
    @ApiModelProperty(value = "语言分类")
    private String langType;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 图片
     */
    @ApiModelProperty(value = "图片")
    private String img;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer orders;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 层级
     */
    @ApiModelProperty(value = "层级")
    private Integer grade;

    /**
     * 树路径
     */
    @ApiModelProperty(value = "树路径")
    private String treePath;

    /**
     * 上级分类
     */
    @ApiModelProperty(value = "上级分类")
    private Integer parentId;

    /**
     * 商品配置分类ID
     */
    @ApiModelProperty(value = "商品配置分类ID")
    private Integer configId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime cdt;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime edt;

    /**
     * 创建人IP
     */
    @ApiModelProperty(value = "创建人IP")
    private String cip;

    /**
     * 修改人IP
     */
    @ApiModelProperty(value = "修改人IP")
    private String eip;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Integer cman;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private Integer eman;

    @ApiModelProperty(value = "入驻须知")
    private String instructions;

}
